<template>
	<layout-base>
		<crumb title="Markdown 编辑器" :routes="crumb"></crumb>
		<pannel>
			<mavon-editor v-model="editorContent" :toolbars="editorToolbars"/>
		</pannel>
	</layout-base>
</template>

<script>
	
	export default{
		data(){
			return{
				crumb:[
					{label:'表单'}
				],
				editorContent: '',
				editorToolbars: {
					bold: true,
					header: true,
					quote: true,
					ol: true,
					ul: true,
					link: true,
					imagelink: true,
					code: true,
					table: true,
					readmodel: true,
					htmlcode: true,
					help: true,
					alignleft: true, // 左对齐
					aligncenter: true, // 居中
					alignright: true, // 右对齐
					subfield: true, // 单双栏模式
					preview: true, // 预览
				}
			}
		}
	}
</script>

<style>
</style>
